package com.sayice.design.lab4_1.byobject;

/**
 * @author shubing
 */
public class Cipher2Adapter extends DataOperator {
    private final Cipher2 cipher;
    
    public Cipher2Adapter() {
        cipher = new Cipher2();
    }
    
    @Override
    public String doEncrypt(String str) {
        return cipher.encrypt(str);
    }
}
